package com.xfs.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author dwj
 * @Date 2021-09-04 0:16
 */

/**
 * 负责跳转后台管理页面
 */
@Controller
@RequestMapping("/admin")
public class SystemController {
    /**
     * 去到登录页面
     *
     * @return
     */
    @RequestMapping("/login.html")
    public String login() {
        return "admin/login";
    }

    @RequestMapping("/home.html")
    public String home() {
        return "admin/home";
    }
}
